********************************************************************************************
**** DESCRIPTIVE STATISTICS OF NON-ZERO EXPENDITURES AT BASELINE AND FOLLOW-UP
**** This file generates output tables for group comparison at baseline.
**** Version: 14/11/2014
********************************************************************************************
	
********************************************************************************************
**** HOUSEHOLD LEVEL VARIABLES
********************************************************************************************

	* EXPENDITURES NON ZEROS
			
		* Create table for comparison of non zero expenditures at baseline and follow up for LARGER GROUPS
	
			treattest $nzero
			
				esttab  using "Outputs/Comparison of non-zeros by good.tex", f replace compress noobs nonumb nomtitles width(1\textwidth) gaps ///
				cells("m_mu_1_b(fmt(3)) m_mu_2_b(fmt(3)) m_coef_c_b(fmt(3) star pvalue(m_d_p_c_b)) m_mu_1_f(fmt(3)) m_mu_2_f(fmt(3)) m_coef_c_f(fmt(3) star pvalue(m_d_p_c_f))" ///
				"m_sd_1_b(fmt(3) par([ ])) m_sd_2_b(fmt(3) par([ ])) m_d_se_c_b(fmt(3) par) m_sd_1_f(fmt(3) par([ ])) m_sd_2_f(fmt(3) par([ ])) m_d_se_c_f(fmt(3) par)") label star(* 0.1 ** 0.05 *** 0.01) ///
				stats(N1 N2 N3 N5 N6 N7, layout("@ @ @ @ @ @") labels("Observations") fmt(0)) ///
				collabels("HH" "Mother" "Diff" "HH" "Mother" "Diff")
			
		* Create table for comparison of non zero expenditures at baseline and follow up for FOOD SUB-CATEGORIES
	
			treattest $nzero_food
			
				esttab  using "Outputs/Comparison of non-zeros by good (food).tex", f replace compress noobs nonumb nomtitles width(1\textwidth) gaps ///
				cells("m_mu_1_b(fmt(3)) m_mu_2_b(fmt(3)) m_coef_c_b(fmt(3) star pvalue(m_d_p_c_b)) m_mu_1_f(fmt(3)) m_mu_2_f(fmt(3)) m_coef_c_f(fmt(3) star pvalue(m_d_p_c_f))" ///
				"m_sd_1_b(fmt(3) par([ ])) m_sd_2_b(fmt(3) par([ ])) m_d_se_c_b(fmt(3) par) m_sd_1_f(fmt(3) par([ ])) m_sd_2_f(fmt(3) par([ ])) m_d_se_c_f(fmt(3) par)") label star(* 0.1 ** 0.05 *** 0.01) ///
				stats(N1 N2 N3 N5 N6 N7, layout("@ @ @ @ @ @") labels("Observations") fmt(0)) ///
				collabels("HH" "Mother" "Diff" "HH" "Mother" "Diff")
			
		* Create table for comparison of non zero expenditures at baseline and follow up for SMALLER GROUPS
	
			treattest $nzero_sub
			
				esttab  using "Outputs/Comparison of non-zeros by good (subgroups).tex", f replace compress noobs nonumb nomtitles width(1\textwidth) gaps ///
				cells("m_mu_1_b(fmt(3)) m_mu_2_b(fmt(3)) m_coef_c_b(fmt(3) star pvalue(m_d_p_c_b)) m_mu_1_f(fmt(3)) m_mu_2_f(fmt(3)) m_coef_c_f(fmt(3) star pvalue(m_d_p_c_f))" ///
				"m_sd_1_b(fmt(3) par([ ])) m_sd_2_b(fmt(3) par([ ])) m_d_se_c_b(fmt(3) par) m_sd_1_f(fmt(3) par([ ])) m_sd_2_f(fmt(3) par([ ])) m_d_se_c_f(fmt(3) par)") label star(* 0.1 ** 0.05 *** 0.01) ///
				stats(N1 N2 N3 N5 N6 N7, layout("@ @ @ @ @ @") labels("Observations") fmt(0)) ///
				collabels("HH" "Mother" "Diff" "HH" "Mother" "Diff")
			
